package top.coolrainly.module.resource.controller.admin.group.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Schema(description = "管理后台 - Web3D 资源 分组树 Response VO")
@Data
public class ResourceGroupTreeRespVO {
    @Schema(description = "分组id", requiredMode = Schema.RequiredMode.REQUIRED, example = "26738")
    private Long id;

    @Schema(description = "父节点", requiredMode = Schema.RequiredMode.REQUIRED, example = "26738")
    private Long parent;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    private String name;

    @Schema(description = "类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    private Integer type;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

    @Schema(description = "分组子节点", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<ResourceGroupTreeRespVO> groupChild;
}
